<div class="mainbox">
    <div class="tagbox">
        {{#if $Cache.tags_detail.length}} {{#each $Cache.tags_detail}}
        <a href="/tags.html?tag_id={{_id}}" title="{{type}}">
            <div class="tag">{{tag_name}}({{content.length}})</div>
        </a>
        {{/each}} {{#else}} {{#if loadingoods}}
        <p>正在加载</p>
        {{#else}}
        <p>暂无产品分类</p>
        {{/if}} {{/if}}
    </div>

    <div class="goods_list">
        <div class="tagtitle">{{tagTitle}}</div>
        {{#if $Cache.pointer_tag.detail_content.length}} {{#each $Cache.pointer_tag.detail_content}}
        <div class="listitem">
            <div class="goodsimg">
                <a href="/goods_details.html?id={{_id}}">
                    <img src="{{preview_img_url}}?imageView/1/w/100/h/100" />
                </a>
            </div>
            <div class="goodsinfo">
                <a href="/goods_details.html?id={{_id}}">
                    <div class="name">{{goods_name+" "}}
                        <span class="detail">{{intro}}</span>
                    </div>
                </a>
                <div class="sale">
                    <div class="sitem">
                        <span class="price">￥{{price}}</span>
                    </div>
                    <div class="sitem">库存：{{num}}</div>
                </div>
            </div>
        </div>
        {{/each}} {{#else}}
        <p>找不到此分类的商品</p>
        {{/if}}
    </div>
</div>
